package com.lovo.dimao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author MaoYue
 * @since 2022年11月14日
 */
@Getter
@Setter
@TableName("ssc_backend_user")
@ApiModel(value = "SscBackendUser对象", description = "用户表")
public class SscBackendUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    @TableId(value = "pk_user_id", type = IdType.ASSIGN_ID)
    private Long userId;

    @ApiModelProperty("用户名")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("用户状态")
    @TableField("user_status")
    private Integer userStatus;

    public SscBackendUser() {
    }
}
